package com.cqjtu.store.common;

import java.util.Arrays;
import java.util.List;

/**
 * @ProjectName: cqjtu-store
 * @Titile: Constants
 * @Author: Lucky
 * @Description: 常量量
 */
public class Constants {
    //未删除
    public static final int IS_NOT_DELETE=0;
    //删除
    public static final int IS_DELETE=1;
    /*hash次数*/
    public static final int HASH_TIME = 6;
    /*图像的类型*/
    public static final List<String> FILE_TYPE = Arrays.asList("png","jpg");
    /*图像的大小*/
    public static final int FILE_MAX_SIZE = 2*1024*1024;
    /*默认地址*/
    public static final int DEFAULT_ADDRESS = 1;
    /*非默认地址*/
    public static final int NOT_DEFAULT_ADDRESS = 0;
    /*最多的地址条目数*/
    public static final int ADDRESS_MAX_ITEMS = 5;
    /*初始订单状态*/
    public static final int DEFAULT_ORDER_STATUS = 0;
    /*商品统计 */
    public static final String Product_VISITED_STATS ="product:visited:stats:";
    public static final String PEOPLE_VISITED_STATS ="people:visited:stats:";
    public static final String PV_PRODUCT_STATS_PREFIX ="pv:product:stats:";
    public static final String UV_PRODUCT_STATS_PREFIX ="uv:product:stats:";
    public static final String COLLECT_PRODUCT_STATS_PREFIX ="collect:product:stats:";
    //饼图
    public static final String PRODUCT_CATEGORY_STATS_PREFIX ="product:category:stats:";
}
